package mysql

import "gorm.io/gorm"

type House struct {
	gorm.Model
	Title   string  `gorm:"type:varchar(30)"`
	Price   float64 `gorm:"type:varchar(30)"`
	Address string  `gorm:"type:varchar(30)"`
}

type App struct {
	gorm.Model
	AppName string `gorm:"type:varchar(30)"`
	UserId  int    `gorm:"type:int(11）"`
	HouseId int    `gorm:"type:int(11）"`
}

type Con struct {
	gorm.Model
	ConName string `gorm:"type:varchar(30)"`
	UserId  int    `gorm:"type:int(11）"`
	HouseId int    `gorm:"type:int(11）"`
}
